package cn.zzf.algs.note.base.util;

import java.util.Collections;

/**
 * @author GaoFeng2017
 * @date 2020/7/17 9:31
 */
public class StringUtil {
    public static String repeat(String str, int count) {
        return String.join("", Collections.nCopies(count, str));
    }
}
